package cn.com.server.service;

import java.sql.SQLDataException;
import java.util.List;

import cn.com.server.entity.RoleResource;

/**
 * <p>
 * 角色资源绑定表 服务类
 * </p>
 *
 * @author qing
 * @since 2017-11-20
 */
public interface RoleResourceService{

	int insert(RoleResource entity);

	int update(RoleResource entity);

	int updateByRoleId(Long roleId);

	int insertAndUpdateRoleResource(String resourceIds, Long roleId) throws SQLDataException;

	List<RoleResource> selectRoleResourceListByRoleId(Long roleId);
	
}
